<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><%@ taglib
	uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title>海科集团任务督办管理系统-任务详情</title>
<style>
#title {
	text-align: center;
}

#center {
	margin: 0 auto;
	width: 1100px;
}

.left {
	font-size: 18px;
	font-weight: bold;
	/* 	width: 100px; */
}

.right {
	font-size: 18px;
	/* 	right: 500px; */
}

table, table tr th, table tr td {
	border: 1px solid #0094ff;
}

table {
	width: 1100px;
	min-height: 25px;
	line-height: 25px;
	text-align: center;
	border-collapse: collapse;
}
</style>

<!-- <script type="text/javascript" -->
<!-- 	src="resourse/jquery-easyui-1.7.6/jquery.min.js"></script> -->
<script>
	
</script>
</head>
<body>
	<div id="center">
		<form id="form1" name="form1" method="post">
			<div id="title">
				<h3>${model.infMettingname }(${year }年第${week }周)<input
						id="currentdate" type="hidden" value="${currentdate}" />
				</h3>
			</div>
			<table id="table">
				<tr>
					<td class="left" style="width: 100px;"><span>执行人</span></td>
					<td class="left" style="width: 300px;"><span>督办事项</span></td>
					<td class="left" style="width: 120px;"><span>计划完成日期</span></td>
					<td class="left" style="width: 90px;"><span>整体进度</span></td>
					<td class="left" style="width: 300px;"><span>本周完成情况</span></td>
					<td class="left" style="width: 120px;"><span>本周提交时间</span></td>
				</tr>
				<c:forEach items="${contentlist}" var="item">
					<tr>
						<td class="right">${item.PRO_EXECUTEUSERNAME}</td>
						<td class="right"><a
							href="task/taskList?proId=${item.PRO_ID }" target="_blank">${item.PRO_CONTENT}</a></td>
						<td class="right">${item.PRO_PLANFINISHDATE}</td>
						<td class="right"><c:choose>
								<c:when test="${empty item.PROR_PROGRESS}">/ 
								</c:when>
								<c:otherwise> ${item.PROR_PROGRESS}%
								</c:otherwise>
							</c:choose></td>
						<td class="right"><c:choose>
								<c:when test="${empty item.PROR_CONTENT}">/ 
								</c:when>
								<c:otherwise> ${item.PROR_CONTENT}
								</c:otherwise>
							</c:choose></td>
						<td class="right"><c:if
								test="${fn:length(item.PROR_COMMITTIME)>10}">
                      ${fn:substring(item.PROR_COMMITTIME, 0, 10)}
                  </c:if> <c:if test="${fn:length(item.PROR_COMMITTIME)<10}">/
                  </c:if></td>
					</tr>
				</c:forEach>
				<tr>
					<td colspan=6><a
						href='SurpviseManage/surpviseViewBack?infId=${infId}&currentdate=${currentdate }'>上一周</a>&nbsp;&nbsp;&nbsp;<a
						href='SurpviseManage/exportExcel?infId=${infId}&year=${year }&week=${week }'>导出excel</a>&nbsp;&nbsp;&nbsp;<a
						href='SurpviseManage/surpviseViewNext?infId=${infId}&currentdate=${currentdate }'>下一周</a></td>
				</tr>
			</table>
		</form>
		<!-- 			<div id="btn"> -->
		<!-- 				<input type="submit" value="导出" /> -->
		<!-- 			</div> -->
	</div>
</body>
</html>